package com.ricchieri.service.interf;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import com.ricchieri.filter.CharterFilter;
import com.ricchieri.model.Charter;

public interface ICharterService {
	@Transactional(readOnly = true)
	public List<Charter> getAllCharter();

	public void addCharter(Charter charter);
	
	public void deleteCharter(Charter charter);

	public List<Charter> getAllCharterPaginatedByFilter(CharterFilter charterFilter, int startRecord);

	public int getAllCharterCountByFilter(CharterFilter charterFilter);

	public void updateCharter(Charter charter);

	Charter getCharterById(CharterFilter charterFilter);

	Map<String, String> getComboCharters();
}
